//
//  ViewViewController.m
//  SDKSample
//
//  Created by 小肥羊 on 15/5/16.
//  Copyright (c) 2015年 Zhu‘s Game House. All rights reserved.
//

#import "ViewViewController.h"

@interface ViewViewController ()

@end

@implementation ViewViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    // 初始化tableView的数据
    SampleTableListItem *item = [[SampleTableListItem alloc] initWithTitle:@"第一个视图" explain:@"测试描述" controllerData:@"FirstViewViewController"];
    
    SampleTableListItem *item2 = [[SampleTableListItem alloc] initWithTitle:@"轮播图" explain:@"自动和手动轮播" controllerData:@"ScrollViewViewController"];
    
    SampleTableListItem *item3 = [[SampleTableListItem alloc] initWithTitle:@"自适应视图" explain:@"自适应大小" controllerData:@"AdaptiveViewViewController"];
    
    SampleTableListItem *item4 = [[SampleTableListItem alloc] initWithTitle:@"Label" explain:@"行距间距" controllerData:@"LabelViewController"];

    SampleTableListItem *item5 = [[SampleTableListItem alloc] initWithTitle:@"AutoLayout" explain:@"自动布局" controllerData:@"AutoLayoutViewController"];
    
    SampleTableListItem *item6 = [[SampleTableListItem alloc] initWithTitle:@"AutoLayout2" explain:@"自动布局2" controllerData:@"AutoLayoutViewController2"];

    SampleTableListItem *item7 = [[SampleTableListItem alloc] initWithTitle:@"Gradient" explain:@"渐变图" controllerData:@"GradientViewController"];
    
    SampleTableListItem *item8 = [[SampleTableListItem alloc] initWithTitle:@"抽屉视图" explain:@"拖拽" controllerData:@"DrawerViewController"];
    
    SampleTableListItem *item9 = [[SampleTableListItem alloc] initWithTitle:@"Segmented" explain:@"切换视图" controllerData:@"SegmentedViewController"];
    
    SampleTableListItem *item10 = [[SampleTableListItem alloc] initWithTitle:@"移动视图" explain:@"参考CRMotionView修改" controllerData:@"MotionViewController"];
    
    SampleTableListItem *item11 = [[SampleTableListItem alloc] initWithTitle:@"ZLSwipeableView" explain:@"卡片视图调用" controllerData:@"ZLSwipeableViewController"];
    
    SampleTableListItem *item12 = [[SampleTableListItem alloc] initWithTitle:@"CollectionViewController" explain:@"CollectionView的使用" controllerData:@"CollectionViewController"];
    
    NSMutableArray *list = [[NSMutableArray alloc] initWithObjects:item, item2, item3, item4, item5, item6, item7, item8, item9, item10, item11, item12, nil];
    self.viewTableView.dataList = list;
}

- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
